home *** CD-ROM | disk | FTP | other *** search
/ Alles Voor Internet / Tout Pour Internet / alles voor internet.iso / MacInternet™ / Telnet / NCSA / tn3270 2.3d26 source / tn3270 / Notification.h < prev    next >
Text File  |  1991-03-18  |  794b  |  25 lines

  1. /* Notification manager definitions from MPW 3 */
  2. enum {nmType = 8};
  3.  
  4. typedef pascal void (*NMProcPtr)(struct NMRec *);
  5.  
  6. struct NMRec {
  7.     QElemPtr qLink;     /*next queue entry*/
  8.     short qType;        /*queue type -- ORD(nmType) = 8*/
  9.     short nmFlags;      /*reserved*/
  10.     long nmPrivate;     /*reserved*/
  11.     short nmReserved;   /*reserved*/
  12.     short nmMark;       /*item to mark in Apple menu*/
  13.     Handle nmIcon;         /*handle to small icon*/
  14.     Handle nmSound;     /*handle to sound record*/
  15.     StringPtr nmStr;    /*string to appear in alert*/
  16.     NMProcPtr nmResp;     /*pointer to response routine*/
  17.     long nmRefCon;      /*for application use*/
  18. };
  19.  
  20. typedef struct NMRec NMRec;
  21. typedef NMRec *NMRecPtr;
  22.  
  23. OSErr nminstall(NMRecPtr nmReqPtr);
  24. OSErr nmremove(NMRecPtr nmReqPtr);
  25.